home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / BounceBack.dxr / 00004_Ship Behavior.ls < prev    next >
Encoding:
Text File  |  2002-01-31  |  292 b   |  14 lines

  1. global gPause
  2.  
  3. on exitFrame me
  4.   if gPause = 0 then
  5.     sprite(me.spriteNum).locH = the mouseH
  6.     if sprite(me.spriteNum).locH < 51 then
  7.       sprite(me.spriteNum).locH = 51
  8.     end if
  9.     if sprite(me.spriteNum).locH > 527 then
  10.       sprite(me.spriteNum).locH = 527
  11.     end if
  12.   end if
  13. end
  14.